Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Closing a Dialog Box via LotusScript
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: ALL
Release: 8.5.2
Reproducible: Always

I have a dialog box that I call from a button on a form. The dialog opens and inherits values from the underlying parent document but does not update the parent (not really part of the problem.

In the dialog the user fills in a bunch of fields then I have a button they press that goes out and based on the values in the fields creates a new document in another database. So I have something like this:

Call MyNewDoc.Save(True,False,True)
Call ThisUIDoc.Close(True) 'the UI doc for the dialog
Set MyNewUIDoc = WS.EditDocument(True,MyNewDoc)

Now the problem is that the ThisUIDoc.close does not actually close the dialog until after the LS has completed and the opening MyNewUIDoc is not allowed while the dialog is open. The description of the ThisUIDoc.Close(true) says that the True is to force an immediate close of the UIDoc but it does not. If I remove the WS.EditDocument line the dialog closes properly but I've lost the context of the MyNewDoc.
Any ideas on how this can be worked around.


Feedback number WEBB8HGNR5 created by ~Autumn Kijipymanakol on 06/03/2011

Status: Open
Comments:

Closing a Dialog Box via LotusScrip... (~Autumn Kijipym... 3.Jun.11)
. . one possible way, and you probably ... (~John Reniskiik... 3.Jun.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS